package com.aiti.lulian.service;

import com.aiti.base.core.base.service.BaseService;
import com.aiti.base.core.utils.message.Message;
import com.aiti.lulian.dto.LuLianDockingMeetingPurchaserSignupInformationDto;
import com.aiti.lulian.entity.LuLianDockingMeetingDetails;
import com.aiti.lulian.entity.LuLianDockingMeetingPurchaserSignupInformation;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * @Author WongMZ
 * @CreateDate 2024-07-10
 * @Description: LuLianDockingMeetingPurchaserSignup服务类
 */
public interface ILuLianDockingMeetingPurchaserSignupService extends BaseService<LuLianDockingMeetingPurchaserSignupInformation> {
    int addPurchaserSignupInformation(LuLianDockingMeetingPurchaserSignupInformationDto signupInformationDto);

    /**
     * 查询采购商列表
     * @param page
     * @param caiGouShang
     * @return
     */
    List<LuLianDockingMeetingPurchaserSignupInformation> queryCaiGouShangBaoMingList(Page<LuLianDockingMeetingPurchaserSignupInformation> page, LuLianDockingMeetingPurchaserSignupInformationDto caiGouShang,String userId);

    Message checkCaiGouShang(String id, String status, String bhYy);

    /**
     * 更新采购信息
     * @param caiGouShang
     */
    void updateCaiGouDetail(LuLianDockingMeetingPurchaserSignupInformationDto caiGouShang);

    LuLianDockingMeetingPurchaserSignupInformation selectInfoById(String id);

    List<LuLianDockingMeetingDetails> queryPurchaserSignedUpMeetingListPage(Integer pageNum, Integer pageSize, String userId, String activityName);

    int updatePurchaserSignupInformation(LuLianDockingMeetingPurchaserSignupInformationDto signupInformationDto);

    List<LuLianDockingMeetingPurchaserSignupInformation> selectCaiGouShangList(String status,String meetingId);
}
